package com.ssi.util;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestGetBeen {
	public static ApplicationContext applicationContext;
	static{
		String[] str=new String[]{"beans.xml"};
		 applicationContext=new ClassPathXmlApplicationContext(str);
		
	}
	public static Object getBeen(String been){
		return applicationContext.getBean(been);
		
	}
}
